package com.huangpuweb.task.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class ZyRidPredShortRowMapper implements RowMapper<ZyRidPredShort>{



	@Override
	public ZyRidPredShort mapRow(ResultSet rs, int rowNum) throws SQLException {
		ZyRidPredShort  lj= new ZyRidPredShort();
		lj.setPred_time(rs.getString("pred_time"));
		lj.setSpeed(rs.getString("speed"));
		lj.setRid(rs.getString("rid"));
		lj.setCongestion_index(rs.getString("congestion_index"));
		lj.setVol_in(rs.getString("vol_in"));
		lj.setStep_index(rs.getInt("step_index"));
		return lj;
	}

}
